package com.buffered.exam;

import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;

/**
 * @author げっしょく
 * @date 2021/8/1
 */
public class Demo1 {
    public static void main(String[] args) throws IOException {
        FileInputStream fis = new FileInputStream("D:\\sb.txt");
        FileOutputStream fos = new FileOutputStream("Day12\\s.txt");
        byte[] bytes = new byte[1024];
        int c ;
        int len ;
        while (( c = fis.read()) != -1){
            fos.write(c);
        }
        fis.close();
        fos.close();
    }

}
